package com.ebupt.migu.music.effectStatistics.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.ebupt.migu.music.effectStatistics.entity.vo.PUSHDailyReportExportVo;
import com.ebupt.migu.music.effectStatistics.entity.vo.PushExportVo;

@Mapper
@DS("mysql_mg")
public interface MessagePushMapper {
    /**
     * 统计查询条总数
     *
     * @param params
     * @return
     */
    int countQuery(Map<String, Object> params);
    int countSummary(Map<String, Object> params);


    /**
     * 分页查询
     *
     * @param params
     * @return
     */
    List<HashMap<String, Object>> queryMap(Map<String, Object> params);
    List<HashMap<String, Object>> querySummary(Map<String, Object> params);
    /**
     * 全量导出
     *
     * @param params
     * @return
     */
    List<PushExportVo> exportMap(Map<String, Object> params);
    List<PushExportVo> exportSummary(Map<String, Object> params);

    /**
     * PUSH日报
     */
    int countReportQuery(Map<String, Object> params);
    List<HashMap<String, Object>> queryReportMap(Map<String, Object> params);
    /**
     * PUSH日报导出
     *
     * @param params
     * @return
     */
    List<PUSHDailyReportExportVo> dailyExportMap(Map<String, Object> params);
}
